!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define("rb_wixui.thunderbolt[StylableHorizontalMenu_WrapColumn]",["react"],t):"object"==typeof exports?exports["rb_wixui.thunderbolt[StylableHorizontalMenu_WrapColumn]"]=t(require("react")):e["rb_wixui.thunderbolt[StylableHorizontalMenu_WrapColumn]"]=t(e.React)}("undefined"!=typeof self?self:this,(function(e){return function(){var t={97798:function(e,t,n){var o=n(82016);e.exports=o.create("StylableHorizontalMenu3372578893",{classes:{root:"StylableHorizontalMenu3372578893__root",scrollButton:"StylableHorizontalMenu3372578893__scrollButton",menu:"StylableHorizontalMenu3372578893__menu",menuItem:"StylableHorizontalMenu3372578893__menuItem",columnsLayout:"StylableHorizontalMenu3372578893__columnsLayout",megaMenuWrapper:"StylableHorizontalMenu3372578893__megaMenuWrapper",positionBox:"StylableHorizontalMenu3372578893__positionBox",containerPositionBox:"StylableHorizontalMenu3372578893__containerPositionBox"},vars:{},stVars:{wrap:"var(--menu-flex-wrap, wrap)","container-margin-top":"var(--containerMarginTop)"},keyframes:{},layers:{}},"",-1,e.id)},93260:function(e,t,n){var o=n(82016);e.exports=o.create("itemDepth02233374943",{classes:{root:"itemDepth02233374943__root",container:"itemDepth02233374943__container",label:"itemDepth02233374943__label",itemWrapper:"itemDepth02233374943__itemWrapper",positionBox:"itemDepth02233374943__positionBox",animationBox:"itemDepth02233374943__animationBox",megaMenuComp:"itemDepth02233374943__megaMenuComp",alignBox:"itemDepth02233374943__alignBox",list:"itemDepth02233374943__list"},vars:{},stVars:{"columns-count":"var(--columnsAmount)","horizontal-spacing":"var(--horizontalSpacing)","white-space":"var(--white-space)","is-animated":"var(--is-animated)","animation-box-max-height":"var(--max-height, none)","animation-box-overflow-y":"var(--overflow-y, visible)","position-box-z-index":"var(--position-box-z-index, 47)"},keyframes:{fadeIn:"itemDepth02233374943__fadeIn"},layers:{}},"",-1,e.id)},29359:function(e,t,n){var o=n(82016);e.exports=o.create("itemDepth12472627565",{classes:{root:"itemDepth12472627565__root",container:"itemDepth12472627565__container",label:"itemDepth12472627565__label",itemWrapper:"itemDepth12472627565__itemWrapper",list:"itemDepth12472627565__list",positionBox:"itemDepth12472627565__positionBox",animationBox:"itemDepth12472627565__animationBox"},vars:{},stVars:{"subsubmenu-box-display":"var(--subsubmenu-box-display)","subsubmenu-box-position":"var(--subsubmenu-box-position)","subsubmenu-box-left":"var(--subsubmenu-box-left)","subsubmenu-box-right":"var(--subsubmenu-box-right)","white-space":"var(--white-space)","label-word-wrap":"var(--label-word-wrap)","columns-count":"var(--columns-count)","is-animated":"var(--is-animated)"},keyframes:{fadeIn:"itemDepth12472627565__fadeIn"},layers:{}},"",-1,e.id)},20435:function(e,t,n){var o=n(82016);e.exports=o.create("submenu815198092",{classes:{root:"submenu815198092__root",menuItem:"submenu815198092__menuItem",heading:"submenu815198092__heading",listWrapper:"submenu815198092__listWrapper",pageWrapper:"submenu815198092__pageWrapper",pageStretchWrapper:"submenu815198092__pageStretchWrapper",containerPageStretchWrapper:"submenu815198092__containerPageStretchWrapper",overrideWidth:"submenu815198092__overrideWidth",rowItem:"submenu815198092__rowItem"},vars:{},stVars:{},keyframes:{},layers:{}},"",-1,e.id)},82016:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createRenderable=t.create=void 0;t.create=function(e,t,n,o,r,a){const i={namespace:e,classes:t.classes,keyframes:t.keyframes,layers:t.layers,vars:t.vars,stVars:t.stVars,cssStates:function(e){const t=[];for(const n in e){const o=s(n,e[n]);o&&t.push(o)}return t.join(" ")},style:l,st:l,$id:r,$depth:o,$css:n};function s(t,n){if(!1===n||null==n||n!=n)return"";if(!0===n)return function(t){return`${e}--${t}`}(t);return function(t,n){return`${e}---${t}-${n.length}-${n.replace(/\s/gm,"_")}`}(t,n.toString())}function l(){const e=[];for(let t=0;te.map((e=>e?`wixui-${e}`:"")).join(" "),s=()=>/^((?!chrome|android).)*safari/i.test(navigator?.userAgent),l=e=>Object.entries(e).reduce(((e,[t,n])=>(t.includes("data-")&&(e[t]=n),e)),{});const u=13,c=27;function p(e){return t=>{t.keyCode===e&&(t.preventDefault(),t.stopPropagation(),t.currentTarget.click())}}const m=p(32),d=p(u),b=e=>{d(e),m(e)};p(c);var f={root:"horizontal-menu",menuItem:"horizontal-menu__item",menuItemLabel:"horizontal-menu__item-label",subMenuContainer:"horizontal-menu__submenu-container",subMenuTitle:"horizontal-menu__submenu-title",subMenuItem:"horizontal-menu__submenu-item",subMenuItemLabel:"horizontal-menu__submenu-item-label"};function h(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t"menuItemDepth"+e,g="positionBox",x=(e,t,n)=>{const o=(e=>{const t=[];return e.forEach((e=>{t.push(e),e.items&&(t.push(...e.items),e.items.forEach((e=>{t.push(...e.items||[])})))})),t})(e),r=o.find((e=>e.selected));if(r)return r;if(t&&!(e=>"SCROLL_TO_TOP"===e.dataId||"SCROLL_TO_BOTTOM"===e.dataId)(t)){const e=o.find((e=>((e,t)=>{if(!t||"AnchorLink"!==t.type)return!1;const n=t.anchorCompId&&t.anchorCompId===e.compId,o=t.anchorDataId&&t.anchorDataId===e.dataId;return Boolean(n||o)})(t,e.link)));if(e)return e}return o.find((e=>{let{link:t}=e;return!!t&&("AnchorLink"!==t.type&&(t.href||"").split("?")[0]===n)}))},I=(e,t)=>{if(!t)return!1;if(!0===t.selected)return((e,t)=>!0===e.selected&&e.label===t.label)(e,t);if(!e.link||!t.link)return!1;const{link:n}=e,{link:o}=t;return n.type===o.type&&("AnchorLink"===n.type?(a=o,(r=n).anchorCompId===a.anchorCompId&&r.anchorDataId===a.anchorDataId):n.href===o.href);var r,a},_={root:"linkElement"};var C=n.forwardRef(((e,t)=>{const{href:o,role:r,target:a,rel:i,className:s="",children:u,linkPopupId:c,anchorDataId:p,anchorCompId:f,tabIndex:h,dataTestId:v=_.root,title:y,onClick:g,onDoubleClick:x,onMouseEnter:I,onMouseLeave:C,onFocusCapture:M,onBlurCapture:S,"aria-live":w,"aria-disabled":k,"aria-label":B,"aria-labelledby":E,"aria-pressed":D,"aria-expanded":L,"aria-describedby":N,"aria-haspopup":P}=e,O=void 0!==e.activateByKey?e.activateByKey:(e=>e?"SpaceOrEnter":"Space")(c);let A;switch(O){case"Enter":A=d;break;case"Space":A=m;break;case"SpaceOrEnter":A=b;break;default:A=void 0}return void 0!==o?n.createElement("a",{...l(e),"data-testid":v,"data-popupid":c,"data-anchor":p,"data-anchor-comp-id":f,href:o||void 0,target:a,role:c?"button":r,rel:i,className:s,onKeyDown:A,"aria-live":w,"aria-disabled":k,"aria-label":B,"aria-labelledby":E,"aria-pressed":D,"aria-expanded":L,"aria-haspopup":P,"aria-describedby":N,title:y,onClick:g,onMouseEnter:I,onMouseLeave:C,onDoubleClick:x,onFocusCapture:M,onBlurCapture:S,ref:t,tabIndex:c?0:h},u):n.createElement("div",{...l(e),"data-testid":v,className:s,tabIndex:h,"aria-label":B,"aria-labelledby":E,"aria-haspopup":P,"aria-disabled":k,title:y,role:r,onClick:g,onDoubleClick:x,onMouseEnter:I,onMouseLeave:C,ref:t},u)}));var M=o(93260),S=o.n(M),w=o(29359),k=o.n(w);const B=[S(),k(),k()],E=e=>{const t=()=>e(!0),n=()=>e(!1);return{onMouseEnter:t,onMouseLeave:n,onFocus:t,onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||n()},onKeyDown:e=>{var t;const{target:o,currentTarget:r,key:a}=e;var i;if(r.firstChild===o)switch(a){case"ArrowLeft":case"ArrowRight":const e=(i=r.parentElement,"rtl"===window.getComputedStyle(i).direction),o=r[{ArrowLeft:e?"nextSibling":"previousSibling",ArrowRight:e?"previousSibling":"nextSibling"}[a]];null==o||null==(t=o.firstChild)||t.focus();break;case"Escape":n();const l=r.getAttribute("data-item-depth");if(null!==l){var s;const e=r.closest('[data-item-depth="'+(parseInt(l,10)-1)+'"]');null==e||null==(s=e.firstChild)||s.focus()}}}}},D=(e,t,n)=>n&&(o=>{null==n||n(o,{...e,selected:t})}),L=e=>{var o;let{item:r,className:s,withSubItemsClassname:l,isCurrentItem:u,depth:c,isStretched:p,hasColumnSubSubs:m,positionUpdaters:d,positionBoxRef:b,children:h,onItemClick:g,onItemDblClick:x,onItemMouseIn:I,onItemMouseOut:_}=e;const[M,w]=(0,n.useState)(!1),[k,L]=(0,n.useState)(!1),N=(0,n.useRef)(null),{label:P,link:O,forceHovered:A=!1}=r,W=E(w),T=(e=>{let{depth:t,isHovered:n,isCurrentPage:o,className:r}=e;const{st:a,classes:s}=B[t]||S(),l=0!==t;return{root:a(s.root,{isHovered:n&&!o,isCurrentPage:o},r,l?"":"has-custom-focus"),itemWrapper:a(s.itemWrapper,i(l?f.subMenuItem:f.menuItem)),container:s.container,label:a(s.label,i(l?f.subMenuItemLabel:f.menuItemLabel))}})({depth:c,isHovered:!(m&&1===c)&&M,isCurrentPage:u,className:s}),z=d[c];return(0,n.useEffect)((()=>{if(!(M&&N.current&&b.current&&z))return;const{onEnter:e,onLeave:t}=z({label:N.current,positionBox:b.current,isStretched:p});return e(),L(!0),()=>{t(),L(!1)}}),[M,p,b,z,r]),(0,n.useEffect)((()=>{w(A)}),[A]),a().createElement("li",t()({className:v(T.itemWrapper,l),"data-testid":y(c),"data-item-depth":c,"data-is-current":u,"aria-current":u},M&&{"data-hovered":!0},k&&{"data-shown":!0},W),a().createElement(C,t()({},O,{className:T.root,ref:N,onClick:D(r,u,g),onMouseEnter:D(r,u,I),onMouseLeave:D(r,u,_),onDoubleClick:D(r,u,x)},!(null==(o=r.items)||!o.length)&&{"aria-haspopup":!0,"aria-expanded":M},{tabIndex:0,"data-item-label":!0}),a().createElement("div",{className:T.container},a().createElement("span",{className:T.label},P))),h)},N=(0,n.memo)((e=>{const{item:o,depth:r=0,currentItem:s,className:l,submenuProps:{positionUpdaters:u,getClasses:c,injectCssVars:p},slots:m,isColumnStretched:d,isContainerStretched:b,hasColumnSubSubs:h,onItemClick:y,onItemMouseIn:x,onItemMouseOut:_,onItemDblClick:C}=e,{label:M,items:S,slot:w}=o,k=w&&m[w],B=(0,n.useRef)(null),E=k?b:d,D=c({depth:r,isStretched:E,containsChildren:!!k,hasColumnSubSubs:h}),P=null==p?void 0:p(r);return a().createElement(L,{className:l,item:o,isCurrentItem:I(o,s),depth:r,isStretched:E,hasColumnSubSubs:h,withSubItemsClassname:null!=S&&S.length?v(D.hasSubItems,i(f.subMenuTitle)):"",positionUpdaters:u,positionBoxRef:B,onItemClick:y,onItemDblClick:C,onItemMouseIn:x,onItemMouseOut:_},((null==S?void 0:S.length)||k)&&a().createElement("div",{className:D.positionBox,ref:B,role:"group","aria-label":M,"data-testid":g},a().createElement("div",{className:v(D.animationBox,i(f.subMenuContainer)),style:null==P?void 0:P.animationBox},a().createElement("div",{className:D.alignBox},k||a().createElement("ul",{className:D.list,style:null==P?void 0:P.list},S.map(((n,o)=>a().createElement(N,t()({},e,{key:o,item:n,depth:r+1,className:D.subItem,slots:m})))))))))}));var P=o(97798);const O=e=>{var t;return!(null==e||null==(t=e.items)||!t.some((e=>{var t;return!(null==(t=e.items)||!t.length)})))},A=()=>{const e=[];let t,n=!1,o=null;const r=["a[href]","area[href]","audio[controls]","button",'input[type="button"]','input[type="checkbox"]','input[type="file"]','input[type="image"]','input[type="radio"]','input[type="range"]','input[type="reset"]','input[type="submit"]',"video[controls]"].join(", "),a=["a[href]","audio[controls]","button","details","embed","iframe","img[usemap]",'input:not([type="hidden"])',"label","select","textarea","video[controls]"].join(", ");function i(t){n&&s(t)===o&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation(),e.unshift(t))}function s(e){return e.composedPath()[0]||e.target}function l(e){return e.matches("button, input, select, textarea, progress, meter, output")||e.constructor.formAssociated}function u(t){setTimeout((()=>{for(n=!1,o=null,t.focus();e.length>0;){const t=e.pop();t.target.dispatchEvent(new MouseEvent(t.type,t))}}),0)}function c(e){const i=s(e),c=i.closest("label"),p=i.closest(a),m=i.closest(r);let d=null,b=null,f=!1;if(c){const e=c.getAttribute("for");c!==p&&c.contains(p)&&p.contains(m)?b=m:null!=e?(d=""!==e?document.querySelector("#"+CSS.escape(e)):null,d&&l(d)&&(f=!0,b=d,o=d)):(d=Array.from(c.querySelectorAll("*")).find(l),d?(f=!0,b=d,o=d):m&&(b=m,o=i))}else m&&(b=m,o=i);b&&function(e){const t=e.matches('button, input:not([type="hidden"]), select, textarea, a[href], area[href], audio[controls], video[controls]')||e.constructor.formAssociated,n=!Number.isNaN(parseInt(e.getAttribute("tabindex"),10))||["plaintext-only","true"].includes(e.contentEditable),o=function(e){return e.matches("button, fieldset, optgroup, option, select, textarea, input")||e.constructor.formAssociated}(e)&&(e.disabled||e.closest("fieldset:disabled")),r=e.closest("[inert]"),a=!function(e){let t=e,n=!1;for(;t;){if("visible"===t.style.visibility&&(n=!0),"none"===t.style.display||"hidden"===t.style.contentVisibility||!n&&"hidden"===t.style.visibility)return!1;t=t.parentElement}return!0}(e);return(t||n)&&!(o||r||a)}(b)&&(b===document.activeElement?e.preventDefault():(n=!0,f?t=u.bind(null,b):u(b)))}function p(){"function"==typeof t&&(t(),t=null)}if(/apple/i.test(navigator.vendor))return window.addEventListener("mousedown",c,{capture:!0}),window.addEventListener("click",p,{capture:!0}),window.addEventListener("mouseup",i,{capture:!0}),window.addEventListener("click",i,{capture:!0}),()=>{window.removeEventListener("mousedown",c,{capture:!0}),window.removeEventListener("click",p,{capture:!0}),window.removeEventListener("mouseup",i,{capture:!0}),window.removeEventListener("click",i,{capture:!0})}},W=(e,o)=>{var r;const{id:u,items:c,submenuProps:p,menuWrapper:m,className:d,customClassNames:b=[],stylableClassName:h,containerRootClassName:v,menuMode:y,submenuMode:g,isContainerStretched:I,style:_,slots:C,isQaMode:M,fullNameCompType:S,currentUrl:w,onMouseEnter:k,onMouseLeave:B,onItemMouseIn:E,onItemMouseOut:D,onItemClick:L,onItemDblClick:W,reportBiOnMenuItemClick:T,ariaAttributes:z,role:R,activeAnchor:j,a11y:H={}}=e,$=(0,P.st)(P.classes.root,{menuMode:y},h,v,i(f.root,...b)),V=(0,n.useCallback)((function(){for(var e=arguments.length,t=new Array(e),n=0;nx(c,j,w)),[c,j,w]);return(0,n.useEffect)((()=>{if(s())return A()}),[]),a().createElement("div",t()({id:u,className:d,style:_},l(e),((e,t)=>e?{"data-comp":t,"data-aid":t}:{})(M,S),{onMouseEnter:k,onMouseLeave:B}),a().createElement(m,t()({ref:o,items:c,className:$,currentItem:U},(({pressed:e,expanded:t,haspopup:n,label:o,live:r,relevant:a,current:i,owns:s,controls:l,roleDescription:u,hidden:c,disabled:p,describedBy:m,labelledBy:d,errorMessage:b,atomic:f,role:h,busy:v,...y}={})=>{const g=y.tabIndex??y.tabindex,x={};return o&&(x["aria-label"]=o),r&&(x["aria-live"]=r),i&&(x["aria-current"]=i),e&&(x["aria-pressed"]=e),"boolean"==typeof c&&(x["aria-hidden"]=c),"boolean"==typeof t&&(x["aria-expanded"]=t),"boolean"==typeof p&&(x["aria-disabled"]=p),"boolean"==typeof f&&(x["aria-atomic"]=f),"boolean"==typeof v&&(x["aria-busy"]=v),"string"==typeof a&&(x["aria-relevant"]=a),"string"==typeof s&&(x["aria-owns"]=s),"string"==typeof l&&(x["aria-controls"]=l),"string"==typeof u&&(x["aria-roledescription"]=u),n&&(x["aria-haspopup"]=n),"number"==typeof g&&(x.tabIndex=g),h&&(x.role=h),m&&(x["aria-describedby"]=m),d&&(x["aria-labelledby"]=d),b&&(x["aria-errormessage"]=b),x})({...H,label:null!=(r=H.label)?r:"Site",...z,role:R})),c.map(((e,t)=>{const n="flyout"!==g||e.slot?"column":"flyout";return a().createElement(N,{key:t,depth:0,item:e,currentItem:U,className:P.classes.menuItem,isContainerStretched:I,isColumnStretched:"columnStretched"===g,submenuProps:p[n],onItemClick:V,onItemMouseIn:E,onItemMouseOut:D,onItemDblClick:W,hasColumnSubSubs:"column"===n&&O(e),slots:C})}))))};var T=a().forwardRef(W);const z=(e,o)=>{let{className:r,children:a,ref:i,items:s,currentItem:l,...u}=e;const c=n.useRef(null);return n.useImperativeHandle(o,(()=>({focus:()=>{var e;null==(e=c.current)||e.focus()},blur:()=>{var e;null==(e=c.current)||e.blur()}}))),n.createElement("nav",t()({tabIndex:-1,className:r,ref:c},u),n.createElement("ul",{className:P.classes.menu},a))},R=n.forwardRef(z);var j=o(20435);const H=[S(),k(),k()],$=e=>{let{depth:t,isStretched:n=!1,containsChildren:o=!1,hasColumnSubSubs:r=!1}=e;const{st:a,classes:i}=H[t]||S(),s={isStretched:n,isColumn:!0},l=(0,j.st)(j.classes.root,P.classes.columnsLayout);return o?{positionBox:a(i.positionBox,s,n?P.classes.containerPositionBox:""),animationBox:i.animationBox,alignBox:a(P.classes.megaMenuWrapper,n?j.classes.containerPageStretchWrapper:""),megaMenuComp:a(i.megaMenuComp,l)}:0===t?{positionBox:a(i.positionBox,s,n?P.classes.positionBox:""),animationBox:a(l,i.animationBox),alignBox:a(i.alignBox,j.classes.pageWrapper,n?j.classes.pageStretchWrapper:j.classes.overrideWidth),list:a(i.list,j.classes.listWrapper),subItem:r?j.classes.heading:j.classes.menuItem}:{hasSubItems:j.classes.rowItem,positionBox:i.positionBox,alignBox:i.alignBox,list:i.list,subItem:j.classes.menuItem}},V=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o({...t,["--"+n]:"var(--"+e+"-"+n+")"})),{})};const U="containerMarginTop",q="horizontalSpacing",F=e=>t=>{if(0!==t)return{};const n=(e=>e.replace("__root",""))(e);return{list:V(n,q),megaMenuComp:V(n,U)}},K=function(e,t,n,o){void 0===o&&(o="");const r="number"==typeof n?Math.round(n):n;e.style.setProperty(t,""+r+o)},G=function(e,t,n){let{positionBox:o,label:r}=e;void 0===n&&(n=0);const a=o.getBoundingClientRect().height,i=r.getBoundingClientRect(),s=window.innerHeight-i.bottom,l=s>=a,u=i.top-(()=>{const e=window.getComputedStyle(document.documentElement).getPropertyValue("--wix-ads-height");return Number.parseInt(e,10)||0})()>=a;if(l)K(o,"margin-top",-n,"px");else if(u){const e=a+i.height;K(o,"margin-top",-e-n,"px")}else"column"===t&&(K(o,"margin-top",-n,"px"),K(o,"--animation-box-max-height",s,"px"),K(o,"--animation-box-overflow-y","scroll"))},J=e=>t=>{let{label:n,positionBox:o,isStretched:r}=t;return{onEnter:()=>{const t="wrap"===e?(a=n,i="margin-bottom",window.getComputedStyle(a).getPropertyValue(i)):"0";var a,i;if(G({label:n,positionBox:o},"column",parseInt(t,10)),r){var l;const{left:e=0,right:t=0}=(null==(l=n.closest("nav"))?void 0:l.getBoundingClientRect())||{};K(o,"left",-e,"px"),K(o,"right",-(window.innerWidth-t),"px"),(e=>{s()&&(K(e,"display","none"),e.offsetHeight,K(e,"display",""))})(o)}},onLeave:()=>{o.removeAttribute("style")}}},Q=(e,t)=>(0,n.useMemo)((()=>((e,t)=>({column:{positionUpdaters:[J(t)],getClasses:$,injectCssVars:F(e)}}))(e,t)),[e,t]),Z=(e,n)=>a().createElement(T,t()({},e,{ref:n,menuWrapper:R,submenuProps:Q(e.stylableClassName,e.menuMode)}));var X=a().forwardRef(Z);const Y=e=>e.replace(/([A-Z])/g,(e=>`-${e.toLowerCase()}`)),ee=e=>"linkPopupId"in e,te=(e,t)=>{if(ee(e))return e.linkPopupId;{const{pagesMap:n,mainPageId:o}=t||{};if(!n)return;const r=new URL(e.href??"");let a=Object.values(n).find((({pageUriSEO:e})=>!!e&&r.pathname?.includes(e)));return a||(a=o?n[o]:void 0),a?.pageId}},ne=e=>{if(void 0!==e)return null===e?"None":e.type},oe=(e,t)=>{if(!e?.type)return;const{type:n}=e;switch(n){case"AnchorLink":return e.anchorDataId;case"DocumentLink":return e.docInfo?.name;case"PageLink":const n=te(e,t);return n&&t?.pagesMap?.[n]?.title;default:return e.href}},re=(e,t,n)=>{const{link:o,value:r,details:a,actionName:i,elementType:s,trackClicksAnalytics:l,pagesMetadata:u,...c}=t;if(!l)return;const p=u&&{...u,pagesMap:window.viewerModel?.siteFeaturesConfigs?.router?.pagesMap},m=((e,t)=>{if(!e?.type)return;const{type:n}=e;switch(n){case"AnchorLink":return(e=>"anchorDataId"in e&&("SCROLL_TO_TOP"===e.anchorDataId||"SCROLL_TO_BOTTOM"===e.anchorDataId))(e)?void 0:{id:e.anchorDataId};case"DocumentLink":return{id:e.docInfo?.docId};case"PageLink":return{id:te(e,t),isLightbox:ee(e)};default:return}})(o,p),d=a||m?JSON.stringify({...m,...a}):void 0;e({src:76,evid:1113,...{...c,bl:navigator.language,url:window.location.href,details:d,elementType:s??"Unknown",actionName:i??ne(o),value:r??oe(o,p)}},{endpoint:"pa",...n})};var ae;!function(e){e.Text="Text",e.Menu="Menu",e.Image="Image",e.Input="Input",e.Login="Login",e.Button="Button",e.Social="Social",e.Gallery="Gallery",e.Community="Community",e.Decorative="Decorative",e.MenuAndSearch="MenuAndSearch",e.MenuAndAnchor="MenuAndAnchor"}(ae||(ae={}));var ie;const se={StylableHorizontalMenu_WrapColumn:{component:X,controller:(ie=e=>{let{stateValues:t,mapperProps:o}=e;const{currentUrl:r,reportBi:a}=t,{compId:i,language:s,mainPageId:l,trackClicksAnalytics:u,...c}=o,p=n.useCallback((function(e,t){void 0===t&&(t={}),re(a,{link:t.link,language:s,trackClicksAnalytics:u,elementTitle:t.label,pagesMetadata:{mainPageId:l},element_id:null!=i?i:e.currentTarget.id,elementType:c.fullNameCompType,elementGroup:ae.MenuAndSearch})}),[a,s,u,i,c.fullNameCompType,l]);return{...c,currentUrl:r,reportBiOnMenuItemClick:p}},{useComponentProps:(e,t,n)=>{const o=(e=>({...e,updateStyles:t=>{const n=Object.entries(t).reduce(((e,[t,n])=>{return{...e,[(o=t,o.startsWith("--")?t:Y(t))]:void 0===n?null:n};var o}),{});e.updateStyles(n)}}))(n);return ie({mapperProps:e,stateValues:t,controllerUtils:o})}})}}}(),r}()})); //# sourceMappingURL=https://static.parastorage.com/services/editor-elements-library/dist/thunderbolt/rb_wixui.thunderbolt[StylableHorizontalMenu_WrapColumn].0136d956.bundle.min.js.map